/*
     File: AtomicElementView.h
 Abstract: Displays the Atomic Element information in a large format tile.
  Version: 1.8
 
 Copyright (C) 2009 Apple Inc. All Rights Reserved.
 
 */

#import <UIKit/UIKit.h>


CGImageRef AEViewCreateGradientImage (int pixelsWide,
									  int pixelsHigh);

@class Train;
@class AtomicElementViewController;

@interface AtomicElementView : UIView {
	Train *element;
	AtomicElementViewController *viewController;
	
	NSString* dataBaseName;
}

@property (nonatomic, retain) NSString* dataBaseName;
@property (nonatomic,retain) Train *element;
@property (nonatomic, assign) AtomicElementViewController *viewController;

+ (CGSize)preferredViewSize;
- (UIImage *)reflectedImageRepresentationWithHeight:(NSUInteger)height;
-(double) findMatchSize:(NSString*) ForString withStartSize:(double)fStartSZ AndBounds:(CGRect)bounds;
@end
